package com.chenglai.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.List;

/**
 * @author Jiang
 * @create 2023-11-16 09:58:18 
 */
@ApiModel( value ="t_cl_productComment" )
@Table( name ="t_cl_productComment" )
public class ProductComment  implements Serializable {

    @Id
   	@Column(name = "comment_id" ,updatable = false)
	@ApiModelProperty( value="null")
	private Integer commentId;

	/**
	 * 用户Id
	 */
   	@Column(name = "user_id" )
	@ApiModelProperty( value="用户Id")
	private Integer userId;

	/**
	 * 商品ID
	 */
   	@Column(name = "product_id" )
	@ApiModelProperty( value="商品ID")
	private Integer productId;

	/**
	 * 评论内容
	 */
   	@Column(name = "comment" )
	@ApiModelProperty( value="评论内容")
	private String comment;

	/**
	 * 满意度
	 */
   	@Column(name = "satisfaction" )
	@ApiModelProperty( value="满意度")
	private String satisfaction;

	/**
	 * 评论时间
	 */
   	@Column(name = "comment_time" )
	@ApiModelProperty( value="评论时间")
	private String commentTime;

	/**
	 * 订单号
	 */
   	@Column(name = "order_num" )
	@ApiModelProperty( value="订单号")
	private String orderNum;

	/**
	 * 门店Id
	 */
   	@Column(name = "shop_id" )
	@ApiModelProperty( value="门店Id")
	private Integer shopId;

   	@Transient
    private List<String> productCommentPics;

   	@Transient
    private List<ProductCommentPic> productCommentPicList;

  public Integer getCommentId() {
    return commentId;
  }

  public void setCommentId(Integer commentId) {
    this.commentId = commentId;
  }


  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }


  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }


  public String getComment() {
    return comment;
  }

  public void setComment(String comment) {
    this.comment = comment;
  }


  public String getSatisfaction() {
    return satisfaction;
  }

  public void setSatisfaction(String satisfaction) {
    this.satisfaction = satisfaction;
  }


  public String getCommentTime() {
    return commentTime;
  }

  public void setCommentTime(String commentTime) {
    this.commentTime = commentTime;
  }


  public String getOrderNum() {
    return orderNum;
  }

  public void setOrderNum(String orderNum) {
    this.orderNum = orderNum;
  }


  public Integer getShopId() {
    return shopId;
  }

  public void setShopId(Integer shopId) {
    this.shopId = shopId;
  }

    public List<String> getProductCommentPics() {
        return productCommentPics;
    }

    public void setProductCommentPics(List<String> productCommentPics) {
        this.productCommentPics = productCommentPics;
    }

    public List<ProductCommentPic> getProductCommentPicList() {
        return productCommentPicList;
    }

    public void setProductCommentPicList(List<ProductCommentPic> productCommentPicList) {
        this.productCommentPicList = productCommentPicList;
    }
}
